import { Link, Warning } from '@brillout/docpress'
import { ConfigWhereServer } from '../../components'

**Environment**: server  
**Type**: `boolean | { dev?: boolean; prod?: boolean }{:ts}`  
**Default**: `{ dev: false, prod: true }{:ts}`  

Whether to generate <Link href="/shield">`shield()`</Link> in development and/or when building for production.

```ts
// Environment: server

import { config } from 'telefunc'

// Enable shield() generation during development
config.shield.dev = true
```

<Warning>Enabling `shield()` generation during development can significantly slow down development speed. Depending on how large your app and how fast your computer is, the decreased development speed can range from unnoticeable to significant.</Warning>

<ConfigWhereServer />
